package org.elasticsearch.index.analysis;

public class LbhAnalysisBinderProcessor extends AnalysisModule.AnalysisBinderProcessor{

	@Override
	public void processTokenFilters(TokenFiltersBindings tokenFiltersBindings) {
		tokenFiltersBindings.processTokenFilter("lbh", LbhTokenFilterFactory.class);
		super.processTokenFilters(tokenFiltersBindings);
	}
	
	@Override
	public void processAnalyzers(AnalyzersBindings analyzersBindings) {
		//set analyzer name.
		analyzersBindings.processAnalyzer("lbh", LbhAnalyzerProvider.class);
		super.processAnalyzers(analyzersBindings);
	}
}
